package com.ztgf.logistics.models.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/*
 * @author: chenyu.wang
 * @date: 2020-08-28
 * @description:
 */
@Data
public class LogisticsVO implements Serializable {

    @ApiModelProperty(value = "物流公司/送货员")
    private String logisticsCompany;

    @ApiModelProperty(value = "快递单号")
    private String logisticsNumber;

    @ApiModelProperty(value = "快递联系方式")
    private String logisticsPhone;

    @ApiModelProperty(value = "物流信息")
    private QueryTrackResp content;

    @ApiModelProperty(value = "物流类型，0选择物流，1自己联系物流")
    private Integer type;

    @ApiModelProperty(value = "下单时间")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    private Date orderTime;

    @ApiModelProperty(value = "发货时间")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    private Date shipTime;
}
